package com.mobzilla.model;

public class ExperienceAnalysis {

	private int count;

	private String component;

	private String assignedTo;

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public String getComponent() {
		return component;
	}

	public void setComponent(String component) {
		this.component = component;
	}

	public String getAssignedTo() {
		return assignedTo;
	}

	public void setAssignedTo(String assignedTo) {
		this.assignedTo = assignedTo;
	}

	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Component: ").append(component).append("\n");
		builder.append("Bug Assignee: ").append(assignedTo).append("\n");
		builder.append("Experience: ").append(count).append(" defects.\n").append("\n");
		return builder.toString();
	}

}
